import java.util.Comparator;

import io.reactivex.Observable;

public class C30a {
    public static void main(String[] args) {
        Observable.just(6, 2, 5, 7, 1, 4, 9, 8, 3)
                  .sorted(Comparator.reverseOrder())
                  .subscribe(System.out::println);
    }

}
//EOP
